package com.lh.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.project.model.entity.Muzzle;
import org.apache.ibatis.annotations.Update;

/**
* @Entity com.lh.project.model.entity.Muzzle
*/
public interface MuzzleMapper extends BaseMapper<Muzzle> {


    @Update("update muzzle set muzzle_sell_count = muzzle_sell_count+${orderCount} where muzzle_id = ${id}")
    void addSellCount(Integer orderCount,Long id);
}
